TARGET = $(BUILD)\$(PROJ)

!include $(ROOT)\make\common.mak

_make-clean_:
  
.version: Makefile $(SRC_RC)
  -$(UPDATE_VERSION)  --input $(SRC_RC) --output $(SRC_RC)
  del $@
  echo > $@

relink $(TARGET): .version $(OBJ) $(DEF)
  $(link) $(linkdebug) $(guilflags) /def:$(DEF) /out:$(TARGET) \
    $(OBJ) $(LIBS)
